infinite loop:无限循环;指程序(或逻辑过程)反复执行同一段步骤而不会自然结束的情况,通常由终止条件缺失、条件永远为真、或状态无法改变导致。(在一般语境中也可指“无休止的循环往复”。)
/ˈɪnfɪnɪt luːp/
The program got stuck in an infinite loop.
程序陷入了无限循环。
Because the exit condition is never met, the function keeps calling itself and creates an infinite loop that eventually crashes the system.
由于退出条件永远无法满足,这个函数不断自我调用,形成无限循环,最终导致系统崩溃。
infinite 来自拉丁语 infinitus(“无边界的、无穷的”),由 *in-*(否定)+ finitus(“有界限的”)构成;loop 原指“圈、环、套索”,后引申为“循环往复的过程”。两者组合在计算机语境中指“不会终止的循环”。